import request from '@/utils/request'

// 查询J魔方数据集字段列表
export function listJmfReportField(query) {
  return request({
    url: '/field/jmfReportField/list',
    method: 'get',
    params: query
  })
}

// 查询J魔方数据集字段详细
export function getJmfReportField(id) {
  return request({
    url: '/field/jmfReportField/' + id,
    method: 'get'
  })
}

// 保存J魔方数据集字段
export function saveJmfReportField(data) {
  return request({
    url: '/field/jmfReportField/save',
    method: 'post',
    data: data
  })
}

// 删除J魔方数据集字段
export function delJmfReportField(id) {
  return request({
    url: '/field/jmfReportField/' + id,
    method: 'delete'
  })
}

